package com.rtx.edi.model.asyntask.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 异步任务队列
 * </p>
 *
 * @author zcw
 * @since 2023-03-10
 */
@ApiModel(value = "PlTaskQueue对象", description = "异步任务队列表")
public class PlTaskQueueDTO{
	
	@ApiModelProperty(value = "id")
	private Long id;
	
    @ApiModelProperty(value = "页面编号")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize = 20;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "关联id")
    private Long applicationLinkId;

    @ApiModelProperty(value = "应用关联名称")
    private String applicationLinkName;

    @ApiModelProperty(value = "对接场景id")
    private Long apiMappingId;

    @ApiModelProperty(value = "对接场景名称")
    private String apiMappingName;

    @ApiModelProperty(value = "任务执行状态 P 待执行 PS 执行中 S 执行完成")
    private int executeStatus;
    
    @ApiModelProperty(value = "任务执行消息")
    private String executeMsg;

    @ApiModelProperty(value = "执行次数")
    private Long executeCount;

    @ApiModelProperty(value = "备注")
    private String remark;
    
    private String taskNo;
	
	@Override
    public String toString() {
        return "PlApibaseinfo{" +
        "companyId=" + companyId +
        ", applicationLinkId=" + applicationLinkId +
        ", applicationLinkName=" + applicationLinkName +
        ", apiMappingId=" + apiMappingId +
        ", apiMappingName=" + apiMappingName +
        ", executeStatus=" + executeStatus +
        ", executeMsg=" + executeMsg +
         ", executeCount=" + executeCount +
        ", remark=" + remark +
        "}";
    }
	public String getTaskNo() {
		return taskNo;
	}
	public void setTaskNo(String taskNo) {
		this.taskNo = taskNo;
	}
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public Long getApplicationLinkId() {
		return applicationLinkId;
	}

	public void setApplicationLinkId(Long applicationLinkId) {
		this.applicationLinkId = applicationLinkId;
	}

	public String getApplicationLinkName() {
		return applicationLinkName;
	}

	public void setApplicationLinkName(String applicationLinkName) {
		this.applicationLinkName = applicationLinkName;
	}

	public Long getApiMappingId() {
		return apiMappingId;
	}

	public void setApiMappingId(Long apiMappingId) {
		this.apiMappingId = apiMappingId;
	}

	public String getApiMappingName() {
		return apiMappingName;
	}

	public void setApiMappingName(String apiMappingName) {
		this.apiMappingName = apiMappingName;
	}

	public int getExecuteStatus() {
		return executeStatus;
	}

	public void setExecuteStatus(int executeStatus) {
		this.executeStatus = executeStatus;
	}

	public String getExecuteMsg() {
		return executeMsg;
	}

	public void setExecuteMsg(String executeMsg) {
		this.executeMsg = executeMsg;
	}

	public Long getExecuteCount() {
		return executeCount;
	}

	public void setExecuteCount(Long executeCount) {
		this.executeCount = executeCount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
